package net.tarine.oracolo.client.service;

import net.tarine.oracolo.shared.model.Account;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>OracoloService</code>.
 */
public interface AuthServiceAsync {
	void getAccountByToken(String token, AsyncCallback<Account> callback);
	void saveOrUpdateAccount(Account account, AsyncCallback<Account> callback);
	void removeAccount(Account account, AsyncCallback<Boolean> callback);

}
